package cn.damai.search.mapper;

import cn.damai.model.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderMapper {

	Order getOrderById(@Param(value = "id") Long id)throws Exception;

	List<Order>	getOrderListByMap(Map<String, Object> param)throws Exception;

	Integer getOrderCountByMap(Map<String, Object> param)throws Exception;

	Integer insertOrder(Order Order)throws Exception;

	Integer updateOrder(Order Order)throws Exception;

// Integer deleteOrderById(@Param(value = "id") Long id)throws Exception;
//
// Integer batchDeleteOrder(Map<String,List<String>> params);

}
